home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / util / Imakefile < prev    next >
Encoding:
Makefile  |  1995-07-12  |  1.5 KB  |  49 lines

  1. XCOMM $XConsortium: Imakefile,v 1.8 94/03/29 15:54:11 gildea Exp $
  2. #if UseCCMakeDepend
  3. MDEP_PROG = makedepend
  4. #endif
  5.          PROGRAMS = xmkmf $(MDEP_PROG) mergelib
  6.           DEPLIBS =
  7.   EXTRA_LIBRARIES =
  8.  
  9. all:: $(PROGRAMS)
  10.  
  11. CppScriptTarget(xmkmf,xmkmf.cpp,-DCONFIGDIRSPEC='"'"-I$(CONFIGDIR)"'"',$(ICONFIGFILES))
  12. CppScriptTarget(makedepend,mdepend.cpp,-DPREPROC='"'"$(PREPROCESSCMD)"'"',$(ICONFIGFILES))
  13. CppScriptTarget(mergelib,mergelib.cpp,"-DARCMD=$(AR)" "-DRANLIB=$(RANLIB)",$(ICONFIGFILES))
  14.  
  15. #if HasSymLinks
  16. #if CrossCompiling
  17. SimpleHostProgramTarget(lndir)
  18. #else
  19. SimpleProgramTarget(lndir)
  20. #endif
  21. #endif
  22.  
  23. XCOMM The X11 utilities are already present on most systems that have
  24. XCOMM X11 installed.  We'll still build the utilities in case they're
  25. XCOMM needed while building Fresco, but we'll install only one of
  26. XCOMM them: xmkmf, which will look for the installed Fresco config
  27. XCOMM files rather than the installed X11 config files.  We will
  28. XCOMM rename xmkmf to fmkmf when we install it to avoid blowing away
  29. XCOMM any installed xmkmf.
  30.  
  31. InstallNamedProg(xmkmf,fmkmf,$(BINDIR))
  32.  
  33. #if 0 /* All of these are probably already installed */
  34.  
  35. InstallNamedProg(xmkmf,xmkmf,$(BINDIR))
  36. InstallManPage(xmkmf,$(MANDIR))
  37. InstallNamedProg(mkdirhier.sh,mkdirhier,$(BINDIR))
  38. InstallManPage(mkdirhier,$(MANDIR))
  39. #if UseCCMakeDepend
  40. InstallNamedProg(makedepend,makedepend,$(BINDIR))
  41. #endif
  42. #if SystemV || SystemV4
  43. InstallNamedProg(bsdinst.sh,bsdinst,$(BINDIR))
  44. InstallNamedProg(lninst.sh,lninst,$(BINDIR))
  45. #endif
  46. InstallNamedProg(mergelib,mergelib,$(BINDIR))
  47.  
  48. #endif
  49.